﻿namespace ChatGPTIntegrationProject.Model.DAL.Result.GtpSupport
{
    public class Models
    {
        public List<Datum> Data { get; set; }
    }

    public class TopProvider
    {
        public int Context_length { get; set; }
        public int Max_completion_tokens { get; set; }
        public bool Is_moderated { get; set; }
    }

    public class Architecture
    {
        public string Tokenizer { get; set; }
        public string Instruct_type { get; set; }
        public string Modality { get; set; }
    }

    public class Datum
    {
        public string Id { get; set; }
        public string Name { get; set; }
        public int Created { get; set; }
        public string Description { get; set; }
        public Pricing Pricing { get; set; }
        public int Context_length { get; set; }
        public Architecture Architecture { get; set; }
        public TopProvider Top_provider { get; set; }
        public PerRequestLimits Per_request_limits { get; set; }
    }

    public class PerRequestLimits
    {
        public object Prompt_tokens { get; set; }
        public object Completion_tokens { get; set; }
    }

    public class Pricing
    {
        public string Prompt { get; set; }
        public string Completion { get; set; }
        public string Request { get; set; }
        public string Image { get; set; }
    }
}
